﻿<s:ScatterViewItem x:Class="SurfaceCardsGameKit.CircularMenuUC"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008"
    xmlns:local="clr-namespace:SurfaceCardsGameKit">
  <s:ScatterViewItem.Resources>
    <Style TargetType="{x:Type s:SurfaceListBox}" BasedOn="{StaticResource GameCircularSurfaceListBoxStyle}">
      <Setter Property="Width" Value="500" />
      <Setter Property="Height" Value="500" />
    </Style>
  </s:ScatterViewItem.Resources>
  <Viewbox Stretch="Uniform">
    <s:SurfaceListBox x:Name="listbox">
      <s:SurfaceListBox.Resources>
        <Style TargetType="{x:Type Rectangle}">
          <Setter Property="Height" Value="100" />
          <Setter Property="Width" Value="100" />
          <Setter Property="StrokeThickness" Value="0" />
          <Setter Property="RenderTransformOrigin" Value="0.5,0.5" />
        </Style>
      </s:SurfaceListBox.Resources>
      <Rectangle Name="ChangeGame" Fill="{StaticResource ChangeGame}" />
      <Rectangle Name="CollectCards" Fill="{StaticResource CollectCards}"  />
      <Rectangle Name="Stats" Fill="{StaticResource Stats}" />
      <Rectangle Name="ChangeDesign" Fill="{StaticResource ChangeDesign}" />
      <Rectangle Name="NewGame" Fill="{StaticResource NewGame}" />
      <Rectangle Name="Help" Fill="{StaticResource HelpBook}" />
    </s:SurfaceListBox>
  </Viewbox>
</s:ScatterViewItem>
